package com.vshop.entity.aspecial.activate.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 激活接口请求：
 * <p>
 * 领科出卡只带一个赠送套餐
 * <p>
 * 首次来订购我们把这种情况定义为卡片激活
 *
 * @author lm
 * @date 2020/8/24 11:25
 */
@Data
public class RequestFirstOrder implements Serializable {

    private static final long serialVersionUID = -5725273981112573364L;

    @ApiModelProperty(value = "接口名称。此字段不可传空字符串", example = "activate", dataType = "String")
    private String tradeType;

    @ApiModelProperty(value = "访问时间戳：yyyy-MM-dd HH:mm:ss。此字段不可传空字符串", example = "2020-09-07 15:22:33", dataType = "String")
    private String tradeTime;

    @ApiModelProperty(value = "接口版本值为：3.0。此字段不可传空字符串", example = "3.0", dataType = "String")
    private String version;

    @ApiModelProperty(value = "特指希望打开页面时以哪种语言打开，此字段为空时按照默认的优先级高的套餐语言展示。此字段可传空字符串。", example = "cn", dataType = "String")
    private String lang;

    @ApiModelProperty(value = "渠道编码-P000200-特指大阳。此字段不可传空字符串", example = "P000200", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "卡片归属标识：0-归属领科；1-不归属领科；此字段不可传空字符串", example = "0", dataType = "String")
    private String mark;

    @ApiModelProperty(value = "用户卡片设备码（iccId/iMei号）。此字段不可传空字符串", example = "89852022018050200415", dataType = "String")
    private String deviceCode;

    @ApiModelProperty(value = "所在区域：比如亚洲，欧洲直接传中文字。此字段不可传空字符串", example = "欧洲", dataType = "String")
    private String area;

    @ApiModelProperty(value = "渠道方用户的唯一订单号，用于关联双方的订单。此字段不可传空字符串", example = "2020090715233367", dataType = "String")
    private String requestOrderId;

    @ApiModelProperty(value = "渠道方接收支付结果通知的服务器地址。此字段不可传空字符串", example = "https://www.baidu.com/notice", dataType = "String")
    private String noticeUrl;

    @ApiModelProperty(value = "请求签名，方法：MD5(请求字符串除了sign字段，按照参数名称的字母升序排序)的值。此字段不可传空字符串", example = "bc3006c46c66896cb02032223694e072", dataType = "String")
    private String sign;

}
